package com.sxbbc.common.core.mapper.jz;

import com.sxbbc.common.core.entity.jz.CCollectPro;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户商品收藏 Mapper 接口
 * </p>
 *
 * @author leehao
 * @since 2019-05-16
 */
public interface CCollectProMapper extends BaseMapper<CCollectPro> {

    /**
     * 根据cid查询用户收藏中最多的二级分类id
     * @param cid 用户id
     * @author leehao
     * @return java.lang.Integer
     */
    Integer getMaxNumSecondIdByCid(@Param("cid") Integer cid);
}
